/*******************************************************************************
 * Copyright (c) 2010, 2018 西安秦晔信息科技有限公司
 * Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 *******************************************************************************/
package com.qinyeit.serviceapp.security;

/**
 * <p>InterfaceName: com.qinyeit.shirostarterdemo.security.PrincipalIdentifierKey
 * <p>Function: 登录用户身份标识 Key,与用户相关的身份信息放在Map中
 *    这里定义了系统中规定的Key
 * <p>date: 2018-08-14 14:12
 *
 * @author wuqing
 * @version 1.0
 * @since JDK 1.8
 */
public interface PrincipalIdentifierKey {
    // 登陆用户的安全密钥 key
    String PRINCIPAL_SECURITY_KEY="principal_security_key";
    // 账号ID
    String PRINCIPAL_ACCOUNT_ID="principal_account_id";
    // 账号名称
    String PRINCIPAL_ACCOUNT_NAME="principal_account_name";
    // 账号真是姓名
    String PRINCIPAL_ACCOUNT_REAL_NAME="principal_account_real_name";
    //当前账号头像url
    String PRINCIPAL_ACCOUNT_HEAD_URL="principal_account_head_url";

    //是否是管理员
    String PRINCIPAL_IS_ADMIN="principal_is_admin";
    //终端设备
    String PRINCIPAL_TERMINAL_DEVICE="principal_terminal_device";
    //上一次登录时间
    String PRINCIPAL_LAST_LOGIN_AT="principal_last_login_at";
//    //商户组id
    String PRINCIPAL_MERCHANT_GROUP_ID="principal_merchant_group_id";
//    //登陆账号员工id
    String PRINCIPAL_EMPLOYEE_ID="principal_employee_id";
//    //登陆账号员工名称
    String PRINCIPAL_EMPLOYEE_NAME="principal_employee_name";
//    //当前员工 可管理的门店
    String PRINCIPAL_EMPLOYEE_MANAGE_BRANCH="principal_employee_manage_branch";



}
